package com.spring.annotation.importanno;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * @Author HBZ
 * @Date 2020/8/16 16:37
 * @Description
 */
public class MyImportSelector implements ImportSelector {
    @Override
    public String[] selectImports(AnnotationMetadata annotationMetadata) {
        return new String[]{"com.spring.annotation.importanno.Import21","com.spring.annotation.importanno.Import22"};
    }
}
